package com.webblog.pojo;

import java.util.Date;
import java.util.List;

public class Blog {
    private int blogId;
    private String title;
    private String content;
    private Date creationDate;
    private Date modifyDate;
    private int readCount;
    private int userId;
    private int isDraft;
    private int isCovery;
    private String blogCover;
    private String userName;
    private Classify classify;
    private List<Tag> tagList;

    @Override
    public String toString() {
        return "Blog{" +
                "blogId=" + blogId +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", creationDate=" + creationDate +
                ", modifyDate=" + modifyDate +
                ", readCount=" + readCount +
                ", userId=" + userId +
                ", isDraft=" + isDraft +
                ", isCovery=" + isCovery +
                ", blogCover='" + blogCover + '\'' +
                ", userName='" + userName + '\'' +
                ", classify=" + classify +
                ", tagList=" + tagList +
                '}';
    }

    public int getBlogId() {
        return blogId;
    }

    public void setBlogId(int blogId) {
        this.blogId = blogId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public int getReadCount() {
        return readCount;
    }

    public void setReadCount(int readCount) {
        this.readCount = readCount;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getIsDraft() {
        return isDraft;
    }

    public void setIsDraft(int isDraft) {
        this.isDraft = isDraft;
    }

    public int getIsCovery() {
        return isCovery;
    }

    public void setIsCovery(int isCovery) {
        this.isCovery = isCovery;
    }

    public String getBlogCover() {
        return blogCover;
    }

    public void setBlogCover(String blogCover) {
        this.blogCover = blogCover;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Classify getClassify() {
        return classify;
    }

    public void setClassify(Classify classify) {
        this.classify = classify;
    }

    public List<Tag> getTagList() {
        return tagList;
    }

    public void setTagList(List<Tag> tagList) {
        this.tagList = tagList;
    }
}
